﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;

namespace QLKH
{
    class ListDAO
    {
        private Connection conn;
        public ListDAO()
        {
            conn = new Connection();
        }

        public DataTable GetList()
        {
            String query=string.Format("select * from [KHACHHANG]");
            return conn.ExecuteSelectQuery(query, null);
        }
    }
}
